<?php
/**
 * Created by PhpStorm.
 * User: Dave
 * Date: 2018/5/4
 * Time: 11:04
 */

ini_set('display_errors', 1);
error_reporting(-1);
require_once '/data/wwwroot/g_vendor/autoload.php';

use Biz\service\CarouselBanner as sCarouselBanner;
use Biz\cache\CarouselBanner   as cCarouselBanner;
use Biz\model\ShopCarouselBanner as mShopCarouselBanner;

try{
    cCarouselBanner::delBanner(sCarouselBanner::BANNER_CACHHE_NAME);
    cCarouselBanner::delBanner(sCarouselBanner::VISIBLE_BANNER_CACHE_NAME);
    cCarouselBanner::delBanner(sCarouselBanner::ACTIVITY_BANNER_CACHE_NAME);
    cCarouselBanner::delBanner(sCarouselBanner::MEAL_BANNER_CACHE_NAME);
} catch (\Exception $e){

    echo printf("出错,%s",$e->getMessage());
}